export const jhTableConfig = [
  {
    label: "值班角色",
    prop: "dutyRoleName",
    align: "center"
  },
  {
    label: "姓名",
    prop: "dutyPersonName",
    align: "center"
  }
];
export const dkTableConfig = [
  {
    label: "值班角色",
    prop: "dutyRoleName",
    align: "center"
  },
  {
    label: "姓名",
    prop: "dutyPersonName",
    align: "center"
  },
  {
    label: "签到时间",
    prop: "signTime",
    "show-overflow-tooltip": false,
    align: "center"
  },
  {
    label: "签退时间",
    prop: "signOutTime",
    "show-overflow-tooltip": false,
    align: "center"
  }
];
export const rbTableConfig = [
  {
    label: "日报标题",
    prop: "reportName",
    align: "center"
  },
  {
    label: "审核人",
    prop: "approvalUser",
    align: "center"
  },
  {
    label: "报送时间",
    prop: "submitTime",
    align: "center"
  },
  {
    label: "状态",
    prop: "status",
    align: "center",
    formatter: (row) => {
      const statusType = {
        0: "编辑中",
        1: "待审批",
        2: "驳回",
        3: "已审批"
      };
      return statusType[row.status];
    }
  },
  {
    label: "操作",
    slot: "operate",
    "show-overflow-tooltip": false,
    align: "center"
  }
];
export const jbTableConfig = [
  {
    label: "值班角色",
    prop: "dutyRoleName",
    align: "center"
  },
  {
    label: "姓名",
    prop: "approvalUser",
    align: "center"
  },
  {
    label: "操作时间",
    prop: "modifyTime",
    align: "center"
  },
  {
    label: "状态",
    prop: "reportApprovalStatus",
    align: "center"
  },
  {
    label: "操作",
    slot: "jbOperate",
    "show-overflow-tooltip": false,
    align: "center"
  }
];
export const handoverConfig = [
  {
    label: "交接班次",
    prop: "handoverShifts",
    align: "center"
  },
  {
    label: "值班角色",
    prop: "dutyRoleName",
    align: "center"
  },
  {
    label: "姓名",
    prop: "approvalUser",
    align: "center"
  },
  {
    label: "操作时间",
    prop: "modifyTime",
    align: "center"
  },
  {
    label: "状态",
    prop: "reportApprovalStatus",
    align: "center"
  }
];
